/**
 * 
 */
package com.boot.springBoot.interview;

/**
 * @author Administrator
 *
 */
public class ThreadTask extends Thread{
	
	private int i,x,y;
	
	public void run(){
		for (; i < 100; i++) {
			System.out.println(getName() + " " + i);
		}
	}
	
	
	
	public static void main(String[] args) {
		new ThreadTask().start();
		new ThreadTask().start();
	}
}
